<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <script type="text/javascript" src="../../resources/templates/libs/jquery.min.js"></script>
    <script type="text/javascript" src="../../resources/templates/layui/layui.js"></script>

    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<!--<div class="layui-header"></div>-->

<ul class="layui-nav" style="background-color: #202020">
    <li class="layui-nav-item" style="width: 5%"></li>
    <li class="layui-nav-item" style="width: 13%" value="logo"><a href=""><img src="/imgs/yoyoga.png" style="height: 50px"></a></li>
    <li class="layui-nav-item" style="width: 12%"></li>

    <li class="layui-nav-item" style="float: right">
        <a href="#"><i class="layui-icon layui-icon-set" style="font-size: 20px; color: #eeeeee"></i></a>
        <dl class="layui-nav-child">
            <dd><a href="/logout">注销</a></dd>
        </dl>
    </li>
</ul>

<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use('element', function(){
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块

        // //监听导航点击
        // element.on('nav(demo)', function(elem){
        //     //console.log(elem)
        //     layer.msg(elem.text());
        // });
    });
</script>

</body>